package com.iptv.grape.bu.imp;

import android.view.KeyEvent;

import com.iptv.grape.BaseActivity;
import com.iptv.grape.bu.AppState;
import com.iptv.grape.bu.GrapeContext;
import com.iptv.grape.bu.IKeyEventPorc;
import com.iptv.grape.video.XMediaPlayer;

// 关闭直播的频道菜单
@AppState(isShowLiveMenu = true,keyVals = {4})
public class HiddLiveMenu implements IKeyEventPorc {
    @Override
    public void onKeyDownEvent(BaseActivity context, XMediaPlayer mediaPlayer, GrapeContext grapeContext, KeyEvent event) {
        grapeContext.hiddLiveMenu(context);
    }
}
